package com.zy.pojo;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: xiaoqi
 * Date: 2021/6/5
 * Time: 下午 13:30
 * Description: 工资表
 */
public class Salary {
    private Integer id;
    private Integer empId;
    private Double money;
    private String empName;
    private String departmentName;
    private String roleName;

    private Integer start;
    private Integer limit;
    private Integer startMoney;
    private Integer endMoney;
    private Date enterDate;

    public Salary(Integer id, Integer empId, Double money, String empName, String departmentName, String roleName, Integer start, Integer limit) {
        this.id = id;
        this.empId = empId;
        this.money = money;
        this.empName = empName;
        this.departmentName = departmentName;
        this.roleName = roleName;
        this.start = start;
        this.limit = limit;
    }

    public Salary(Integer id, Integer empId, Double money, String empName, String departmentName, String roleName) {
        this.id = id;
        this.empId = empId;
        this.money = money;
        this.empName = empName;
        this.departmentName = departmentName;
        this.roleName = roleName;
    }

    public Salary() {
    }

    public Salary(Integer id, Integer empId, Double money) {
        this.id = id;
        this.empId = empId;
        this.money = money;
    }

    public Salary(Integer id, Integer empId, Double money, String empName) {
        this.id = id;
        this.empId = empId;
        this.money = money;
        this.empName = empName;
    }

    public Salary(Integer id, Integer empId, Double money, String empName, String departmentName) {
        this.id = id;
        this.empId = empId;
        this.money = money;
        this.empName = empName;
        this.departmentName = departmentName;
    }

    public Date getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(Date enterDate) {
        this.enterDate = enterDate;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getStartMoney() {
        return startMoney;
    }

    public void setStartMoney(Integer startMoney) {
        this.startMoney = startMoney;
    }

    public Integer getEndMoney() {
        return endMoney;
    }

    public void setEndMoney(Integer endMoney) {
        this.endMoney = endMoney;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "Salary{" +
                "id=" + id +
                ", empId=" + empId +
                ", money=" + money +
                ", empName='" + empName + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", roleName='" + roleName + '\'' +
                ", start=" + start +
                ", limit=" + limit +
                '}';
    }
}